//
//  TilingView.h
//  AudiHistory
//
//  Created by niko on 11-8-20.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@class MPMoviePlayerController;
@interface TilingView : UIView<UIScrollViewDelegate>
{
	UIImageView *m_pImageL;
	UIImageView *m_pImageR;
	
	NSUInteger  m_nIndex;
	
	UIImageView *m_pLoading;
	MPMoviePlayerController *m_pMoviePlayer;
	
	UIView *m_pScrollView0;
	UIView *m_pScrollView1;
	UIView *m_pScrollView2;
	UIView *m_pScrollView3;
	
	
	UIView *m_pScrollView4;
	
	BOOL m_nCanTouch;
	BOOL m_bRepeat;
	BOOL m_bNew;
}

@property (assign) NSUInteger nIndex;
@property (nonatomic, retain) UIImageView *pImageL;
@property (nonatomic, retain) UIImageView *pImageR;
@property (nonatomic, retain) UIImageView *pLoading;

- (id)initWithIndex:(int)nIndex size:(CGSize)size;
- (void)CreatLoading;
- (void)LeftAnimating;
- (void)RightAnimating;
- (void)HideLoading;
- (void)DeleteLoading;
- (void)Load;
- (void)LoadEx;
- (void)LoadExAnimating1;
//- (void)LoadExAnimating2;
- (void)Clear;
@end
